package com.ychen.ruijee.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.ychen.ruijee.bean.Orders;
import org.springframework.core.annotation.Order;

/**
 * @author ychen@gotop.cn
 * @date 2024-06-08 23:29
 */
public interface OrderService extends IService<Orders> {

    boolean submitOrder(Orders orders);

    /**
     * 订单分页查询展示
     * @param page
     * @param pageSize
     * @return
     */
    Page<Orders> pageInfOrder(Integer page, Integer pageSize);
}
